﻿using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace OneSpider.Models.ResultModel
{
    public class ContentResult
    { 
        [JsonProperty("hpcontent_id")]
        public int ContentId { get; set; }

        [JsonProperty("hp_title")]
        public string HpTitle { get; set; }

        [JsonProperty("author_id")]
        public int AuthorId { get; set; }

        [JsonProperty("hp_img_url")]
        public string HpImgUrl { get; set; }

        [JsonProperty("hp_img_original_url")]
        public string HpImgOriginalUrl { get; set; }

        [JsonProperty("hp_author")]
        public string HpAuthor { get; set; }

        [JsonProperty("ipad_url")]
        public string IpadUrl { get; set; }

        [JsonProperty("hp_content")]
        public string HpContent { get; set; }

        [JsonProperty("hp_makettime")]
        public DateTime HpMaketime { get; set; }

        [JsonProperty("hide_flag")]
        public string HideFlag { get; set; }

        [JsonProperty("last_update_date")]
        public string LastUpdateDate { get; set; }

        [JsonProperty("web_url")]
        public string WebUrl { get; set; }

        [JsonProperty("wb_img_url")]
        public string WbImgUrl { get; set; }

        [JsonProperty("image_authors")]
        public string ImageAuthors { get; set; }

        [JsonProperty("text_authors")]
        public string TextAuthors { get; set; }

        [JsonProperty("image_from")]
        public string ImageFrom { get; set; }

        [JsonProperty("text_from")]
        public string TextFrom { get; set; }

        [JsonProperty("content_bgcolor")]
        public string ContentBgcolor { get; set; }

        [JsonProperty("template_category")]
        public string TemplateCategory { get; set; }

        [JsonProperty("maketime")]
        public DateTime Maketime { get; set; }

        [JsonProperty("praisenum")]
        public int Praisenum { get; set; }

        [JsonProperty("sharenum")]
        public int Sharenum { get; set; }

        [JsonProperty("commentnum")]
        public int Commentnum { get; set; }
    }
}
